package com.ktjy.dao;

import com.ktjy.pojo.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository("userDao")
public class UserDaoImp implements UserDao {
    Logger logger = LoggerFactory.getLogger(UserDaoImp.class);

    @Override
    public int add(User user) {
        logger.info("userDao");
        logger.info("id:" + user.getId() + ",name:" + user.getUsername());
        return 0;
    }
}
